﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;

namespace Components.Data.UI.Controls.ControlBuilders
{
  class LabelControlBuilder : IControlBuilder
  {
    #region IControlBuilder Members

    public System.Web.UI.Control Build(ControlBindingArgs args)
    {
      Label label = new Label();
      label.Text = args["Text"];
      return label;
    }

    #endregion
  }
}